<?php
namespace app\admin\Controller;

use app\admin\controller\Basecontroller;

class Goods extends Base
{
	/**
	 * 显示所有售卖单
	 * @return [type] [description]
	 */
	public function goods()
	{
		$data = model('goods')->goodsList();

		$this->assign('data', $data);
		return $this->fetch();
	}

	/**
	 * 编辑售卖单状态
	 * @return [type] [description]
	 */
	public function edit()
	{
		$data = model('goods')->editStatus();
	}
}